chore(sdk): sync to agent_platform@474bec4 (v1.0.0)#144
Merged
Conversation
Co-authored-by: Cursor <cursoragent@cursor.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 1c76fd9. Configure here.
adeprezh
approved these changes
Jun 25, 2026
…r test Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Auto-generated from
agent_platform's codegen home (sdk-codegen/).Version:
0.1.13(patch; every sync bumps +0.0.1)Upstream: agent_platform@474bec4
Note
High Risk
Semver major plus breaking removals (
headless) and a changedget_session_resourcecontract; proxy URLs also touch sensitive egress configuration.Overview
Major release (
1.0.0) aligning the Python SDK with the latestagent_platformOpenAPI codegen.Breaking API surface:
Browser.headlessand patch/create environmentheadlessare removed from types and clients.get_session_resourceno longer returnsNone; it streams raw bytes (sync/async iterators) after following the presigned redirect, withNotFoundErroron 404.New capabilities:
client.quota.get_token_quota()andTokenQuotaStatusfor org token metering. Browser environments gain optionalBrowserNetwork(proxy_url) on create/update/patch.SDK behavior fixes:
run_session/wait_for_sessiondrain trailing events after the session settles wheninclude_eventsis on.SessionHandle.send_messageaccepts a plainstr(wrapped as a user message).api_keydefaults are resolved inside__init__(still fromHAI_API_KEYwhen omitted).Integration test browser env no longer passes
headless.Reviewed by Cursor Bugbot for commit 95cd47e. Bugbot is set up for automated code reviews on this repo. Configure here.